-- GENERATED SPELL FOR [Coldarra Wyrmkin] --


function spell0_25728(pUnit, Event) --@Frostbite Weapon,Self--
pUnit:FullCastSpellOnTarget(50416,pUnit)
pUnit:RegisterEvent('Sorts_25728', 10000, 1)
end

function Sorts_25728(pUnit, Event)
local choix_sorts_25728 = math.random(0, 0)
if choix_sorts_25728 == 0 then
pUnit:RegisterEvent('spell0_25728', 1, 1)
end
end

function mob25728_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25728', math.random(1500, 3000), 1)
end

function mob25728_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25728_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25728_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25728, 1, 'mob25728_Action')
RegisterUnitEvent(25728, 2, 'mob25728_Leave')
RegisterUnitEvent(25728, 3, 'mob25728_Kill')
RegisterUnitEvent(25728, 4, 'mob25728_Die')
